let mongoose = require('mongoose')

mongoose.connect('mongodb+srv://3078725416:GAnSOoOONNuxcvbR@cluster1.94nud.mongodb.net/guanwang')
.then(()=>{console.log('数据库连接成功');})
.catch((error)=>{console.log('数据库连接失败',error);})

module.exports = mongoose 